import routerData from './routerData'
import { createBrowserRouter,RouterProvider } from 'react-router-dom'
export default function MyRouter(){
    let data =createBrowserRouter(routerData)
    return <RouterProvider router={data}></RouterProvider>
}